package DiErZhou.Day2;

public class Day1_2 {
    public static void main(String[] args) {
        for (int i = 0; i <4; i++) {
            for (int j = 0; j < 3-i; j++) {
                System.out.print(" ");
            }
            for (int i1 = 0; i1 < 2*i+1;i1++ ) {
                System.out.print("*");
            }
            System.out.println();

        }
        for (int i = 0; i <3; i++) {
            for (int j = 0; j < i+1; j++) {
                System.out.print(" ");
            }
            for (int i1 = 0; i1 < 5-2*i;i1++ ) {
                System.out.print("*");
            }
            System.out.println();

        }
    }
}
